package edu.winona.csclub.testing.testCode;

public class Triangle {
	
	public static final int MIN = 5;
	public static final int MAX = 205;
	
	public static void main(String[] args) {
		int a = Integer.parseInt(args[0]);
		int b = Integer.parseInt(args[1]);
		int c = Integer.parseInt(args[2]);
		
		if(a < MIN || a > MAX)
			throw new IllegalArgumentException("value of a (" + a + ") not in the range of permitted values");
		if(b < MIN || b > MAX)
			throw new IllegalArgumentException("value of b (" + b + ") not in the range of permitted values");
		if(c < MIN || c > MAX)
			throw new IllegalArgumentException("value of c (" + c + ") not in the range of permitted values");
		
		if(a < b+c && b < a+c && c < a+b) { // check if values form a triangle
			if(a == b && b == c)
				System.out.println("Equilateral");
			else if(a != b && a != c && b != c)
				System.out.println("Scalene");
			else
				System.out.println("Isosceles");
		} else
			System.out.println("Not a triangle");
	}
}